
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/ehc.css" type="text/css">
<title><s:text name="E-HC"/></title>
</head>

<body>
<jsp:include page="head.jsp"/> 

<table width="1000" height="569" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" width="200" height="569"><jsp:include page="left.jsp"/></td>
    <td valign="top"  width="800">	 
	
	
	<table width="800" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="33" class="sign_title"><img src="images/arrow23.gif" width="17" height="17">&nbsp;预约挂号系统</td>
      </tr>
      <tr>
        <td height="552">
		<table width="800" border="0" cellspacing="0" cellpadding="0">

          <tr>
            <td>
			<table width="800" height="520" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="29">
				<table class="table_title"  width="800" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                    
                    <h3>
                    <s:property value="hospitalName"/>&gt<s:property value="departmentName"/>&gt<s:property value="doctorName"/>
                    </h3>

                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td valign="top" height="478">
				<table width="100%">
				<tr>
				<s:iterator value="workTimeVOList" status="st1">
				<td>
				<table class="table_border_invisiable">
				<s:iterator value="top" status="st2">
				
				<s:if test="#st2.first">
				<tr>
				<td>
				<H4><s:property value="workdate"/></H4>
				</td>
				</tr>
				</s:if>
				
				<s:if test="id==0">	
				<tr >
				<td style="color:white">

				<s:property value="time"/>
				(<s:property value="nowpatientnum"/>/
				<s:property value="maxpatientnum"/>)
				</td>
				</tr>	
				</s:if>
				
				<s:elseif test="nowpatientnum == maxpatientnum">
				<tr>
				<td>

				<s:property value="time"/>
				(<s:property value="nowpatientnum"/>/
				<s:property value="maxpatientnum"/>)
				</td>
				</tr>
				</s:elseif>
				<s:else>
				<tr>
				<td>
				<a href="signPatient.action?workTimeId=<s:property value="id"/>">
				<s:property value="time"/>
				(<s:property value="nowpatientnum"/>/
				<s:property value="maxpatientnum"/>)
				</a>
				</td>
				</tr>
				</s:else>
				</s:iterator>
				</table>
				</td>
				</s:iterator>
				</tr>
  				</table>
				</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
<table>
	
	</table>

    </td>
  </tr>
</table>
<jsp:include page="foot.jsp"/> 

</body>
</html>
